package com.ms.biz.config;


import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.core.env.Environment;

//@Configuration
public class MonitorConfig {

	private final Logger LOGGER = LoggerFactory.getLogger(MonitorConfig.class);

	@Autowired
	private Environment env;
	
	/*@Bean
	public MonitorUtil monitorUtil() throws Exception {
		LOGGER.info("初始化Monitor的信息");
		MsConfig.setAuthInfo(env.getProperty("project.client.id"), env.getProperty("project.sercret"));
		MsConfig.setServerIdMonitor(env.getProperty("service.id.monitor"));
		MonitorUtil monitorUtil = new MonitorUtil(env);
		monitorUtil.init();
		return monitorUtil;
	}*/
}